<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="a.header.jsp" %>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head> 
 <body>
<!--  /layuiproject/WebContent/4弹出层/a2js动态添加复选框.jsp -->

<div id="test"></div>


<script>
var name="测试"
var input=("<input type='text' value="+name+"></input>")
$("#test").append('ok');
$("#test").append(input);


</script>
</body>

</html>